/////////////////////////////////////////////////////////////////////////////
// Name:        maintoolbar.h
// Purpose:     
// Author:      Brant Young
// Modified by: 
// Created:     Mon May 14 21:46:51 2007
// RCS-ID:      
// Copyright:   Copyright (c) daodict.com 2007
// Licence:     GPL 2.0
/////////////////////////////////////////////////////////////////////////////
#pragma once

#include <wx/toolbar.h>


/**
 * MainToolBar class declaration
 */
class MainToolBar: public wxToolBar
{

public:
    /// Constructors
    MainToolBar(wxWindow* p_parent);
    
    /// Destructor
    virtual ~MainToolBar();
    
    /// Events
    void OnHelp(wxCommandEvent& event);
    void OnPrefers(wxCommandEvent& event);
    void OnAddons(wxCommandEvent& event);
    void OnExit(wxCommandEvent& event);


    /// Control identifiers
    enum {
        ID_MAIN_TOOLBAR = 10001,
        ID_LOGO,
        ID_BACK,
        ID_HOME,
        ID_INPUT,
        ID_FIND,
        ID_PREFERS,
        ID_ADDONS,
        ID_HELP,
        ID_ABOUT,
        ID_EXIT,
    };
    
protected:
    
    void InitEvents();

};

